package com.k2data.k2app.mapper;

import com.k2data.k2app.domain.po.RDeviceMonitorPoint;
import com.k2data.k2app.mybatis.mapper.K2Mapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author lidong9144@163.com 17-3-15.
 */
@Mapper
@Repository
public interface RDeviceMonitorPointMapper extends K2Mapper<RDeviceMonitorPoint> {

    RDeviceMonitorPoint selectLimit(@Param("id") Long id);

    /**
     * 查询未同步的测点
     *
     * @return
     */
    List<RDeviceMonitorPoint> selectNotSynLimit();
}
